{include file="public/header" title="成绩列表"/}
<!-- start page -->
<div class="container bs-docs-container">
    <div class="row">
        <!-- 左侧导航栏 start -->
        {include file="Public/sidebar"/}
        <!-- 左侧导航栏 end -->

        <div class="col-lg-10 col-md-10 col-sm-8">
            <div class="page-header">
                <h2 class="titleh">成绩列表</h2>
            </div>
            <div class="table-responsive">
                <table class="table table-striped table-hover table-condensed" id="score_list_table">
                    <thead>
                    <tr>
                        <th class="col-md-1 text-center">ID</th>
                        <th class="col-md-1 text-center">课程名</th>
                        <th class="col-md-2 text-center">成绩</th>
                        <th class="col-md-3 text-center">所在名次</th>
                    </tr>
                    </thead>
                    <tbody>
                    {if condition="$score_list"}
                    {foreach name="score_list" item="vo" }
                    <tr>
                        <td class="col-md-1 text-center"><a href="#">{$vo.Id}</a></td>
                        <td class="col-md-1 text-center">{:get_title('Lesson',$vo['lesson_id'])}</td>
                        <td class="col-md-2 text-center">{$vo.score}</td>
                        <td class="col-md-3 text-center">{:get_mc($std_id,$vo['lesson_id'])}</td>
                    </tr>
                    {/foreach}
                    {else/}
                    <tr>
                        <td colspan="13">暂无相关成绩信息</td>
                    </tr>
                    {/if}

                    </tbody>
                </table>
                {if condition="$page"}
                <div  class="pages">
                    <div  class="pagination pagination-right">
                        <ul>
                            <li >
                                {$page}
                            </li>
                        </ul>
                    </div>
                </div>
                {/if}
            </div>
        </div>
        <!-- start list menu -->
    </div>
    <!-- end list menu -->
</div>
<script>
    $("#score_list").addClass("active");
</script>
<!-- start footer -->
{include file="public/footer"/}